/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/idenger">idenger</a> All rights reserved.
 */
package com.idenger.modules.edu.service.questionwarehouse;

import java.util.List;

import com.idenger.modules.edu.dao.questionwarehouse.EduQuestionWarehouseDao;
import com.idenger.modules.edu.entity.questionwarehouse.EduQuestionWarehouse;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.idenger.common.persistence.Page;
import com.idenger.common.service.CrudService;

/**
 * 题库Service
 * @author 兰正军
 * @version 2017-12-28
 */
@Service
@Transactional(readOnly = true)
public class EduQuestionWarehouseService extends CrudService<EduQuestionWarehouseDao, EduQuestionWarehouse> {

	public EduQuestionWarehouse get(String id) {
		return super.get(id);
	}
	
	public List<EduQuestionWarehouse> findList(EduQuestionWarehouse eduQuestionWarehouse) {
		return super.findList(eduQuestionWarehouse);
	}
	
	public Page<EduQuestionWarehouse> findPage(Page<EduQuestionWarehouse> page, EduQuestionWarehouse eduQuestionWarehouse) {
		return super.findPage(page, eduQuestionWarehouse);
	}
	
	@Transactional(readOnly = false)
	public void save(EduQuestionWarehouse eduQuestionWarehouse) {
		super.save(eduQuestionWarehouse);
	}
	
	@Transactional(readOnly = false)
	public void delete(EduQuestionWarehouse eduQuestionWarehouse) {
		super.delete(eduQuestionWarehouse);
	}
	
}